<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		var arr1 = [1,2,3,4];
		var arr2 = [5,6,7,8];
//		合并数组arr1和arr2
		var arr = arr1.concat(arr2);
		console.log(arr);
	</script>
</html>
